import { FormSchema } from '/@/components/Table';

export const formSchema: FormSchema[] = [
  {
    label: 'id',
    field: 'id',
    component: 'Input',
    show: false,
  },
  {
    field: 'desc',
    label: '仪表盘名称',
    component: 'Input',
    required: true,
  },
  {
    field: 'grafanaUrl',
    label: '仪表盘地址',
    component: 'Input',
    required: true,
  },
  {
    field: 'type',
    label: '仪表盘类型',
    component: 'Select',
    componentProps: {
      options: [{ label: 'grafana', value: 'grafana' }],
    },
    required: true,
  },
];
